package com.mdhw.system.entity;

import com.mdhw.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper =true)
@EqualsAndHashCode(callSuper =true)
public class SysMenu extends BaseEntity  implements Serializable {

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单code
     */
    private String code;

    /**
     * 菜单 父ID
     */
    private Long parentId;

    /**
     * 1菜单 2按键
     */
    private String type;

    /**
     * 菜单URL
     */
    private String url;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 请求方式 GET  POST  PUT DELETE
     */
    private String methodType;

    /**
     * api 接口地址
     */
    private String apiUrl;

    private static final long serialVersionUID = 1L;
}
